
////////////////////////////////////////////////////////////
//	File:		"TestTask.cpp"
//	Author:		[AL] Anthony Lundquist
//	Created:	[AL] March 14, 2010
//	Purpose:	a test task
////////////////////////////////////////////////////////////

#include "TestTask.h"
#include "DependencyList.h"

/* Data Members */

/* Constructors */

TestTask::TestTask(int _nTaskType) : AL_Task(_nTaskType)
{

}

/* Accessors */

/* Mutators */

/* Other Functions */
void TestTask::TryAddDependency(AL_Task* _pDependency,int _nTaskType)
{
	switch(_nTaskType)
	{
	case TEST_0:
	case TEST_1:
		//TODO: probably need to move this part to the parent
		/*{
			bool bFound = false;;

			for(unsigned int i=0 ;i<m_vDependencies.size();i++)
			{
				if(m_vDependencies[i].first==_pDependency)
				{
					bFound = true;
					break;
				}
			}
			if(!bFound)
				SetDependensy(_pDependency,_nTaskType);
		}*/
		break;
	case TEST_2:
	case TEST_3:
		// we don't want this one so we do nothing
		break;
	}

}

/* Destructor */

TestTask::~TestTask()
{

}

/* Protected Functions */

/* Private Functions */

